﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrnMall.Core.Domain.WeiXin;
using BrnMall.Data;

namespace BrnMall.Services
{
	public class AdminWeiXinService : WeiXinService
	{
		#region 微信接入设置

		public static void SaveJoinConfigInfo(JoinConfigInfo info)
		{
			WeiXinData.SaveJoinConfig(info);
		}
		public static JoinConfigInfo GetJoinConfigInfo()
		{
			return WeiXinData.GetJoinConfigInfo();
		}

		#endregion

		#region 微信公众号菜单设置

		public static void SaveWeiXinMenus(WeiXinMenu[] menus)
		{
			WeiXinData.SaveWeiXinMenus(menus);
		}
		public static WeiXinMenu[] GetWeiXinMenus()
		{
			return WeiXinData.GetWeiXinMenus();
		}

		#endregion
	}
}
